import request from 'src/utils/request'

const baseUrl = process.env.BASE_API

// 小圈报价详情
export function xqQuotedPriceDetail(params) {
  return request.post(`${baseUrl}/api/faw-app/quoted-price/xqQuotedPriceDetail`, params)
}

// 小圈报价验证
export function xqValidQuotedPrice(params) {
  return request.post(`${baseUrl}/api/faw-app/quoted-price/xqValidQuotedPrice`, params)
}

// 小圈报价
export function xqQuotedPrice(params) {
  return request.post(`${baseUrl}/api/faw-app/quoted-price/xqQuotedPrice`, params)
}

// 小圈取消报价
export function xqCancelPrice(params) {
  return request.post(`${baseUrl}/api/faw-app/quoted-price/xqCancelPrice`, params)
}

// 小圈底价确认
export function xqConfirmPrice(params) {
  return request.post(`${baseUrl}/api/faw-app/quoted-price/xqConfirmPrice`, params)
}

// 大域报价详情
export function dyQuotedPriceDetail(params) {
  return request.post(`${baseUrl}/api/faw-app/quoted-price/dyQuotedPriceDetail`, params)
}

// 大域报价验证
export function dyValidQuotedPrice(params) {
  return request.post(`${baseUrl}/api/faw-app/quoted-price/dyValidQuotedPrice`, params)
}

// 大域报价
export function dyQuotedPrice(params) {
  return request.post(`${baseUrl}/api/faw-app/quoted-price/dyQuotedPrice`, params)
}

// 大域底价确认
export function dyConfirmPrice(params) {
  return request.post(`${baseUrl}/api/faw-app/quoted-price/dyConfirmPrice`, params)
}

// 获取增幅步数,大域出价提醒
export function getIncreaseSteps(params) {
  return request.post(`${baseUrl}/api/faw-app/quoted-price/getIncreaseSteps`, params)
}
